.class public Lcom/waiqin365/lightapp/product/dy;
.super Ljava/lang/Object;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/widget/PopupWindow;

.field private c:Landroid/view/animation/Animation;

.field private d:Landroid/view/animation/Animation;

.field private e:Lcom/waiqin365/lightapp/product/eg;

.field private f:Landroid/view/View;

.field private g:Landroid/view/View;

.field private h:Landroid/view/View;

.field private i:Landroid/widget/EditText;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/waiqin365/lightapp/product/eg;)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/dy;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/product/dy;->e:Lcom/waiqin365/lightapp/product/eg;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/dy;->e()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/dy;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/dy;->d()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/dy;)Lcom/waiqin365/lightapp/product/eg;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->e:Lcom/waiqin365/lightapp/product/eg;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/dy;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->i:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/product/dy;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->f:Landroid/view/View;

    return-object v0
.end method

.method private c()V
    .locals 5

    const/4 v4, -0x1

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->a:Landroid/content/Context;

    const v1, 0x7f0302e3

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    new-instance v1, Landroid/widget/PopupWindow;

    invoke-direct {v1, v0, v4, v4}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->b:Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->b:Landroid/widget/PopupWindow;

    invoke-virtual {v1, v3}, Landroid/widget/PopupWindow;->setFocusable(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->b:Landroid/widget/PopupWindow;

    invoke-virtual {v1, v3}, Landroid/widget/PopupWindow;->setTouchable(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->b:Landroid/widget/PopupWindow;

    invoke-virtual {v1, v3}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->b:Landroid/widget/PopupWindow;

    new-instance v2, Landroid/graphics/drawable/ColorDrawable;

    const-string/jumbo v3, "#4d000000"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-direct {v2, v3}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v1, v2}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->b:Landroid/widget/PopupWindow;

    const/16 v2, 0x10

    invoke-virtual {v1, v2}, Landroid/widget/PopupWindow;->setSoftInputMode(I)V

    new-instance v1, Lcom/waiqin365/lightapp/product/dz;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/dz;-><init>(Lcom/waiqin365/lightapp/product/dy;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0c0066

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->h:Landroid/view/View;

    const v1, 0x7f0c0095

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->f:Landroid/view/View;

    const v1, 0x7f0c0096

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->g:Landroid/view/View;

    const v1, 0x7f0c0098

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->i:Landroid/widget/EditText;

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/product/dy;)Landroid/widget/PopupWindow;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->b:Landroid/widget/PopupWindow;

    return-object v0
.end method

.method private d()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->h:Landroid/view/View;

    new-instance v1, Lcom/waiqin365/lightapp/product/ea;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/ea;-><init>(Lcom/waiqin365/lightapp/product/dy;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->g:Landroid/view/View;

    new-instance v1, Lcom/waiqin365/lightapp/product/eb;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/eb;-><init>(Lcom/waiqin365/lightapp/product/dy;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/product/dy;)Landroid/view/animation/Animation;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->d:Landroid/view/animation/Animation;

    return-object v0
.end method

.method private e()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->a:Landroid/content/Context;

    const v1, 0x7f04001b

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->c:Landroid/view/animation/Animation;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->a:Landroid/content/Context;

    const v1, 0x7f04001c

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->d:Landroid/view/animation/Animation;

    return-void
.end method


# virtual methods
.method public a()V
    .locals 6

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->b:Landroid/widget/PopupWindow;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->b:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->i:Landroid/widget/EditText;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->b:Landroid/widget/PopupWindow;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->a:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    const/16 v2, 0x11

    invoke-virtual {v1, v0, v2, v3, v3}, Landroid/widget/PopupWindow;->showAtLocation(Landroid/view/View;III)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->c:Landroid/view/animation/Animation;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->f:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->f:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->clearAnimation()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->f:Landroid/view/View;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dy;->c:Landroid/view/animation/Animation;

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/product/ec;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/ec;-><init>(Lcom/waiqin365/lightapp/product/dy;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/dy;->c:Landroid/view/animation/Animation;

    invoke-virtual {v2}, Landroid/view/animation/Animation;->getDuration()J

    move-result-wide v2

    const-wide/16 v4, 0x64

    add-long/2addr v2, v4

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_0
    return-void
.end method

.method public b()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dy;->i:Landroid/widget/EditText;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/view/View;)V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/product/ee;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/ee;-><init>(Lcom/waiqin365/lightapp/product/dy;)V

    const-wide/16 v2, 0x64

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    return-void
.end method
